Generating charts that accurately reflect complex data remains a subtle challenge in today's data visualization landscape. Charts require not only precise layout, color, and text placement, but also the translation of these visual details into code to reproduce the intended design. However, traditional methods often rely on directly prompting vision-language models (VLMs), such as GPT-4V, which frequently struggle to translate complex visual elements into grammatically correct Python code. Even minor errors can result in charts failing to meet their design objectives.